package xcmg.device.dao.mapper.ratingManager;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.ratingManager.OrderNormativeDetailDO;

import java.util.List;

@Mapper
@Repository
public interface OrderNormativeDetailDOMapper {
    int deleteByPrimaryKey(String id);

    int insert(OrderNormativeDetailDO record);

    int insertSelective(OrderNormativeDetailDO record);

    OrderNormativeDetailDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderNormativeDetailDO record);

    int updateByPrimaryKey(OrderNormativeDetailDO record);

    int batchInsert(@Param("recordList") List<OrderNormativeDetailDO> recordList );

    OrderNormativeDetailDO selectByScoreInfoId(@Param("scoreInfoId") String scoreInfoId);
}